﻿@using PithyDesign.Web.Startup
@{
    Layout = "~/Views/Shared/_LayoutBase.cshtml";
    ViewBag.ActiveMenu = PageNames.Home;
}
@*<h2>@L("HelloWorld")!</h2>*@

@*<div class="layui-row">
    <div class="layui-col-lg12">
        @L("Home_Description")
    </div>
</div>*@

@section scripts{
    <environment names="Development">
        <script src="~/js/views/home/index.js"></script>
    </environment>

    <environment names="Staging,Production">
        <script src="~/js/views/home/index.min.js"></script>
    </environment>

    <script>
        //一般直接写在一个js文件中
        layui.use(['layer', 'form'], function () {
            var layer = layui.layer
                , form = layui.form;

            layer.msg('Hello World');
        });
    </script>
}
